package com.dgac.publicresource.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class Shop {
    /**
     * 摊位id
     */
    private Long id;

    /**
     * 摊位类型id
     */
    private Long typeId;

    /**
     * 摊位名字
     */
    private String name;

    /**
     * 摊位图片
     */
    private String icon;

    /**
     * 摊位分数
     */
    private Integer score;

    /**
     * 评分数量
     */
    private Integer ratingNumber;

    /**
     * 摊位创建时间
     */
    private LocalDateTime createTime;

    /**
     * 摊位修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 摊位经度
     */
    private Double latitude;

    /**
     * 摊位维度
     */
    private Double longitude;
}
